package org.csu.mypetstore.service;

import org.csu.mypetstore.domain.Product;
import org.csu.mypetstore.persistence.SearchDao;
import org.csu.mypetstore.persistence.impl.SearchDaoImpl;

import java.util.List;

public class SearchService {

    private SearchDao searchDao = new SearchDaoImpl();

    public List<Product> getAllProduct() {
        return searchDao.getAllProduct();
    }
}
